package com.ffox.service;

import com.ffox.entity.ClassTeacher;
import com.ffox.entity.Clazz;
import com.ffox.entity.StudentInformation;
import com.ffox.entity.Teachers;
import com.ffox.result.Result;

import java.util.List;
import java.util.Map;

public interface SchoolStudentService {

    /*
     * 1、根据学校获取班级列表
     * 2、根据班级获取学生列表
     * 3、编辑班级信息
     * 4、删除班级
     * 6、删除学生
     * 7、添加班级
     * 8、添加学生
     * 9、获取学校教师列表
     * */
    public Result<List<Clazz>> getClassListBySchoolId(String schoolNum);
    public Result<List<StudentInformation>> getStudentListByClassId(Long classId);
    public Integer updateClass(Long classId, Map<String, Object> params);
    public Integer deleteClass(Long classId);
    public Integer deleteStudent(String studentIdCard);
    public Integer addClass(Clazz classInfo);
    public Integer addStudent(String studentIdCard, Long classId);
    public Result<List<Teachers>> getTeacherListBySchoolId(String schoolNum);
    public Result<List<ClassTeacher>> getTeacherListByClassId(Long classId);
    public Integer updateSubjectTeacherByClassId(Long classId, String subjectId, String teacherId);
}
